package com.bjbn.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 资产映射表实体类，对应eqpt_mapping表
 */
@Data
@TableName("eqpt_mapping")
@Schema(description = "资产映射实体类")
public class EqptMapping {
    @TableId(value = "id")
    @Schema(description = "主键ID", example = "1")
    private Integer id;

    @TableField("asset_type")
    @Schema(description = "资产类型", example = "空调设备")
    private String assetType;

    @TableField("asset_loaction")
    @Schema(description = "资产位置", example = "1F-101")
    private String assetLoaction;

    @TableField("asset_code")
    @Schema(description = "资产编码", example = "ASSET001")
    private String assetCode;

    @TableField("eqpt_code")
    @Schema(description = "设备编码", example = "EQPT001")
    private String eqptCode;

    @TableField("ba_code")
    @Schema(description = "BA编码", example = "BA001")
    private String baCode;

    @TableField("bms_code")
    @Schema(description = "BMS编码", example = "BMS001")
    private String bmsCode;

    @TableField("measuring_code")
    @Schema(description = "测量编码", example = "MEAS001")
    private String measuringCode;

    @TableField("ele_water_code")
    @Schema(description = "水电编码", example = "EW001")
    private String eleWaterCode;

    @TableField("cad_code")
    @Schema(description = "CAD编码", example = "CAD001")
    private String cadCode;
} 